import App from './App'
import { createSSRApp } from 'vue'
import plugins from './plugins' // plugins
import store from './store';

export function createApp() {
    const app = createSSRApp(App);
    // 使用插件
    app.use(plugins);
    // 使用 store
    app.use(store);
    return {
        app
    };
}